import request from '@/utils/request'

// 员工扫码明细
export function findMachineScanInfo(params) {
  return request({
    params,
    url: '/back/MachineScanInfo/findMachineScanInfo',
    method: 'post'
  })
}
// 数控扫码明细删除
export function delMachineScanInfo(params) {
  return request({
    params,
    url: '/back/planMachine/delMachineScanInfo',
    method: 'post'
  })
}
// 装配、ems删除
export function scanInfoRemove(params) {
  return request({
    params,
    url: '/scanInfo/remove',
    method: 'post'
  })
}
// 刷新金额
export function singleMonty(params) {
  return request({
    params,
    url: '/back/money-config/singleMonty',
    method: 'post'
  })
}

// 刷新全部记录金额
export function bacthMonty(params) {
  return request({
    params,
    url: '/back/money-config/bacthMonty',
    method: 'post'
  })
}
// 喷涂车间扫码记录
export function findUserProductionRecords(params) {
  return request({
    params,
    url: '/user_production_record/findUserProductionRecords',
    method: 'post'
  })
}

// 装配刷新单个金额
export function singleMonty_zp(params) {
  return request({
    params,
    url: '/back/money-config/singleMonty_zp',
    method: 'post'
  })
}

// 装配刷新全部金额
export function bacthMonty_zp(params) {
  return request({
    params,
    url: '/back/money-config/bacthMonty_zp',
    method: 'post'
  })
}

// 装配刷新单个金额
export function singleMonty_ems_zp(params) {
  return request({
    params,
    url: '/back/money-config/singleMonty_ems_zp',
    method: 'post'
  })
}

// 装配刷新全部金额
export function bacthMonty_ems_zp(params) {
  return request({
    params,
    url: '/back/money-config/bacthMonty_ems_zp',
    method: 'post'
  })
}

// ems单价查询
export function config_ems_Find(params) {
  return request({
    params,
    url: '/back/money-config-ems/find',
    method: 'post'
  })
}

// ems单价删除啊
export function delEcnChange(params) {
  return request({
    params,
    url: '/back/money-config-ems/del',
    method: 'post'
  })
}

// 数控车间齐套看板
export function findHisSetOfRatesNew(params) {
  return request({
    params,
    url: '/device/NumericalControl/findHisSetOfRatesNew',
    method: 'post'
  })
}

// 焊接车间齐套看板
export function findHisSetOfRatesHJNew(params) {
  return request({
    params,
    url: '/device/NumericalControl/findHisSetOfRatesHJNew',
    method: 'post'
  })
}

// 喷涂车间齐套看板
export function findHisSetOfRatesPTNew(params) {
  return request({
    params,
    url: '/device/pt/findHisSetOfRatesPTNew',
    method: 'post'
  })
}

// 装配车间信息化看板、EMS车间信息化看板  type 1装配车间  2ems车间
export function findOnLineWorkOrder(params) {
  return request({
    params,
    url: '/device/findOnLineWorkOrder',
    method: 'post'
  })
}